let express = require('express')
let router = express.Router()
let user = require('./API/user')
let info = require('./API/list')
let news = require('./API/news')

router.get('/user', user.get)
router.post('/list/get', info.get)
router.post('/list/add', info.add)
router.post('/list/login', info.login)
router.post('/list/addscore', info.addscore)
router.post('/list/searchschool', info.searchschool)
router.post('/list/changemy', info.changemy)
router.post('/list/checkScore', info.checkScore)
router.post('/list/checknews', info.checknews)
router.post('/list/searchnews', info.searchnews)
router.get('/news', news.getnews)

module.exports = router